package cn.tedu.search.service;

import com.easyhouse.common.pojo.Product;
import org.springframework.stereotype.Service;

import java.util.List;


public interface SearchService {
    List<Product> search(String text, Integer page, Integer rows);
    void addingIndex(String productString);
    void updateIndex(Product product);
    void deleteIndex();
    void deleteIndexData(String houseId);
}
